package rock.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@AllArgsConstructor
@Getter
@ToString
public enum RpcErrorMessageEnum {
    CLIENT_CONNECT_SERVER_FAILURE("client connect server fail"),
    SERVICE_INVOCATION_FAILURE("service call fail"),
    SERVICE_CAN_NOT_BE_FOUND("can not found such service"),
    SERVICE_NOT_IMPLEMENT_ANY_INTERFACE("registered services not exist such interface"),
    REQUEST_NOT_MATCH_RESPONSE("request not match response"),
    ;
    private final String message;
}
